package com.zut.hospital.config;

/**
 * @program: hos-test
 * @description:
 * @author: 杨曼珍
 * @create: 2019-06-02 21:15
 **/

import com.zut.hospital.entity.pharmacy.ExcelPurchase;
import com.zut.hospital.entity.pharmacy.Purchase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.afterturn.easypoi.handler.impl.ExcelDataHandlerDefaultImpl;

public class PurchaseExcelHandler extends ExcelDataHandlerDefaultImpl<ExcelPurchase> {

    private static final Logger log = LoggerFactory.getLogger(PurchaseExcelHandler.class);


    @Override
    public Object importHandler(ExcelPurchase obj, String name, Object value) {
        log.info(name+":"+value);
        return super.importHandler(obj, name, value);
    }

}
